Welcome Guest, you are in: Login
CTS Futures

Page History: Logout

Compare Page Revisions



« Older Revision - Back to Page History - Newer Revision »


Page Revision: 2012/09/04 17:38


Session Termination

The logout messages requests or indicates the termination of the FIX session. The logout initiator should wait for the a response and/or confirmation to the logout condition. This will permit the counterparty to gently close its connection and perhaps honor a potential gap-fill operation that may be necessary.

If the T4 FIX API server generates a logout, an issuing physical disconnection will follow. When possible, the T4 FIX API will provide information to the client on the nature or cause of the FIX session termination. If the client sends a Logout message, no more messages should sent by the client.

Under normal operating conditions, clients request a logout and the T4 FIX API server honors their request. A physical disconnection with an exchange of logout messages is considered an abnormal condition.

Failed Authentication

To start the new FIX session, the T4 FIX API will need to achieve sucessful authentication the client's Logon message. To provide as much information as possible, a failed authentication is responded with a Logout message by the T4 FIX API.

A new FIX session (with sequence numbers reset to 1) will be required after the receipt of a Logout message and its subsequent physical disconnection.

Message Dictionary

TagField NameReq'dComments
Standard HeaderYMsgType = A
58TextNFree format text string. Contains informations related to the cause of the logout.
354EncodedTextLenNMust be set if EncodedText field is specified and must immediately precede it.
355EncodedTextN Encoded (non-ASCII characters) representation of the Text field in the encoded format specified via the MessageEncoding field.
Standard TrailerY

Sample Message


Client request to logout:

34=2|49=test|56=T4Test|52=20120904-22:13:57.789|
[FIXLOGOUT]
[MsgSeqNum] 34 = 2
[SenderCompID] 49 = test
[TargetCompID] 56 = T4Test
[SendingTime] 52 = 20120904-22:13:57.789

Server Response:

34=2|49=T4Test|56=test|50=T4FIX|52=20120904-22:13:57.789|58=Successful logout upon request|
[FIXLOGOUT]
[MsgSeqNum] 34 = 2
[SenderCompID] 49 = T4Test
[TargetCompID] 56 = test
[SenderSubID] 50 = T4FIX
[SendingTime] 52 = 20120904-22:13:57.789
[Text] 58 = Successful logout upon request

Trade how you want, where you want

support@ctsfutures.com (312) 939 0164

2 Pierce Pl, Suite 200, Itasca, IL 60143

© 2009-2023 Cunningham Trading Systems LLC All rights reserved.